package com.iwunu.gateway.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.iwunu.gateway.entity.SystemUser;
import com.iwunu.gateway.repository.SystemUserRepository;
import com.iwunu.gateway.service.SystemUserService;

@Service
public class SystemUserServiceImpl implements SystemUserService{
	  @Autowired
	    private SystemUserRepository systemUserRepository;
		public  SystemUser findSystemUser(String phone) {
			SystemUser u = systemUserRepository.selectSystemUserByPhone(phone);
			return u;
		}
}
